package com.bss.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.andy.basics.Dao;
import com.bss.dao.ProfessionDao;
import com.bss.model.Profession;

@Service
@Scope("session")
public class ProfessionService extends com.andy.basics.Service<Profession> {

	@Autowired
	private ProfessionDao professionDao;

	@Override
	public Dao<Profession> getDao() {
		return professionDao;
	}

	public void setBuildingDao(ProfessionDao professionDao) {
		this.professionDao = professionDao;
	}

}
